package com.gis.bigdata.spark.core.test

/**
 * @author LnnuUser
 * @create 2021-08-25-下午9:02
 */
class Task extends Serializable {

  private val datas: List[Int] = List(1, 2, 3, 4)

  val logic: Int => Int = _ * 2

  def compute() = {
    datas.map(logic)
  }

}
